package org.example.easyexceltest.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ningshangxu
 * @since 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "user_id", type = IdType.AUTO)
      @ExcelIgnore
    private Integer userId;

      @ExcelProperty(value = "年龄")
    private Integer age;

    private Integer sex;

    private String remark;

    private String dept;

    private String hobby;

    private String school;

    private String company;

    private Integer car;


}
